﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Models
{
    [Serializable]
    public class Baojia
    {
        public int Id { get; set; }
        public int WorkParentId { get; set; }
        /// <summary>
        /// 报价单号
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 客户信息
        /// </summary>
        public string Customer { get; set; }
        /// <summary>
        /// 报价等级
        /// </summary>
        public string Class { get; set; }
        /// <summary>
        /// 报价产品类别
        /// </summary>
        public string CostType { get; set; }
        /// <summary>
        /// 报价产品类别（其他）
        /// </summary>
        public string OtherCostType { get; set; }
        /// <summary>
        /// 需求量
        /// </summary>
        public double Requirement { get; set; }
        /// <summary>
        /// 预计销售额
        /// </summary>
        public double Sales { get; set; }
        /// <summary>
        /// 是否成功
        /// </summary>
        public char Success { get; set; }
        /// <summary>
        /// 模穴要求
        /// </summary>
        public string MoldRequire { get; set; }
        /// <summary>
        /// 模具划分
        /// </summary>
        public string MoldClass { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Ps { get; set; }
        /// <summary>
        /// 要求IE完成日期
        /// </summary>
        public DateTime CompleteTime { get; set; }

        //扩展属性
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string DisplayName { get; set; }
        /// <summary>
        /// 更改时间
        /// </summary>
        public DateTime ChangeTime { get; set; }
        /// <summary>
        /// 父节点各类属性
        /// </summary>
        public WorkflowStatus WorkParent { get; set; }
        /// <summary>
        /// 子节点各类属性
        /// </summary>
        public WorkflowChildStatus WorkChild { get; set; }

    }
}
